[MPlayer-cvslog] r38523 - trunk/gui/dialog/url.c

ib subversion at mplayerhq.hu
Thu May 16 23:07:49 EEST 2024


Author: ib
Date: Thu May 16 23:07:48 2024
New Revision: 38523

Log:
Do not select the first entry from the URL list.

If the input field is empty, it is easier for the user to recognize
that manual input is also possible.

Remove the if statement that is now unnecessary.

Modified:
   trunk/gui/dialog/url.c

Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c	Sun May 12 20:07:17 2024	(r38522)
+++ trunk/gui/dialog/url.c	Thu May 16 23:07:48 2024	(r38523)
@@ -153,14 +153,10 @@ void ShowURLDialog(void)
 
     item = listMgr(URLLIST_GET, 0);
 
-    if (item) {
         while (item) {
             gtk_combo_box_append_text(GTK_COMBO_BOX(urlCombo), item->url);
             item = item->next;
         }
 
-        gtk_combo_box_set_active(GTK_COMBO_BOX(urlCombo), 0);
-    }
-
     gtk_widget_show(URLDialog);
 }


More information about the MPlayer-cvslog mailing list