comparison src/preferences.c @ 256:088b335f2d67

Rename exif preferences tab to "Properties", and name the subsection "Exif".
author zas_
date Fri, 04 Apr 2008 22:12:28 +0000
parents 9faf34f047b1
children c5422b69b40e
comparison
equal deleted inserted replaced
255:40563fd744de 256:088b335f2d67
1235 G_CALLBACK(editor_help_cb), NULL); 1235 G_CALLBACK(editor_help_cb), NULL);
1236 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0); 1236 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0);
1237 gtk_widget_show(button); 1237 gtk_widget_show(button);
1238 } 1238 }
1239 1239
1240 /* exif tab */ 1240 /* properties tab */
1241 static void config_tab_exif(GtkWidget *notebook) 1241 static void config_tab_properties(GtkWidget *notebook)
1242 { 1242 {
1243 GtkWidget *label; 1243 GtkWidget *label;
1244 GtkWidget *vbox; 1244 GtkWidget *vbox;
1245 GtkWidget *group; 1245 GtkWidget *group;
1246 GtkWidget *table; 1246 GtkWidget *table;
1251 scrolled = gtk_scrolled_window_new(NULL, NULL); 1251 scrolled = gtk_scrolled_window_new(NULL, NULL);
1252 gtk_container_set_border_width(GTK_CONTAINER(scrolled), PREF_PAD_BORDER); 1252 gtk_container_set_border_width(GTK_CONTAINER(scrolled), PREF_PAD_BORDER);
1253 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled), 1253 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled),
1254 GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); 1254 GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
1255 1255
1256 label = gtk_label_new(_("Exif")); 1256 label = gtk_label_new(_("Properties"));
1257 gtk_notebook_append_page(GTK_NOTEBOOK(notebook), scrolled, label); 1257 gtk_notebook_append_page(GTK_NOTEBOOK(notebook), scrolled, label);
1258 gtk_widget_show(scrolled); 1258 gtk_widget_show(scrolled);
1259 1259
1260 viewport = gtk_viewport_new(NULL, NULL); 1260 viewport = gtk_viewport_new(NULL, NULL);
1261 gtk_viewport_set_shadow_type(GTK_VIEWPORT(viewport), GTK_SHADOW_NONE); 1261 gtk_viewport_set_shadow_type(GTK_VIEWPORT(viewport), GTK_SHADOW_NONE);
1264 1264
1265 vbox = gtk_vbox_new(FALSE, 0); 1265 vbox = gtk_vbox_new(FALSE, 0);
1266 gtk_container_add(GTK_CONTAINER(viewport), vbox); 1266 gtk_container_add(GTK_CONTAINER(viewport), vbox);
1267 gtk_widget_show(vbox); 1267 gtk_widget_show(vbox);
1268 1268
1269 group = pref_group_new(vbox, FALSE, _("What to show in properties dialog:"), 1269 group = pref_group_new(vbox, FALSE, _("Exif"),
1270 GTK_ORIENTATION_VERTICAL); 1270 GTK_ORIENTATION_VERTICAL);
1271 table = pref_table_new(group, 2, 2, FALSE, FALSE); 1271 table = pref_table_new(group, 2, 2, FALSE, FALSE);
1272 1272
1273 for (i = 0; ExifUIList[i].key; i++) 1273 for (i = 0; ExifUIList[i].key; i++)
1274 { 1274 {
1554 config_tab_general(notebook); 1554 config_tab_general(notebook);
1555 config_tab_image(notebook); 1555 config_tab_image(notebook);
1556 config_tab_windows(notebook); 1556 config_tab_windows(notebook);
1557 config_tab_filtering(notebook); 1557 config_tab_filtering(notebook);
1558 config_tab_editors(notebook); 1558 config_tab_editors(notebook);
1559 config_tab_exif(notebook); 1559 config_tab_properties(notebook);
1560 config_tab_advanced(notebook); 1560 config_tab_advanced(notebook);
1561 1561
1562 gtk_widget_show(notebook); 1562 gtk_widget_show(notebook);
1563 1563
1564 gtk_widget_show(configwindow); 1564 gtk_widget_show(configwindow);