X-Git-Url: http://git.maemo.org/git/?p=simple-launcher;a=blobdiff_plain;f=settings-dialog.cc;h=ed8c60c66740113ed701c66ae2b19b6d1b37684e;hp=1580a8e9712a3a251a9fc29b693090359f061023;hb=d2252dffaedda4d2d85e6c4c88e10c9aebc030ff;hpb=20f3df4f3b1216b3efa3b5afee2fed32ab4e4d5d diff --git a/settings-dialog.cc b/settings-dialog.cc index 1580a8e..ed8c60c 100644 --- a/settings-dialog.cc +++ b/settings-dialog.cc @@ -32,27 +32,27 @@ inline void addPage(GtkNotebook *notebook, const std::string& name, GtkWidget *w } inline GtkWidget *packItTogether(GtkSizeGroup *group, const std::string& name, GtkWidget *content) { - GtkWidget *box = gtk_hbox_new(false, 0); - GtkWidget *label = gtk_label_new(name.c_str()); + GtkWidget *box = gtk_hbox_new(false, 0); + GtkWidget *label = gtk_label_new(name.c_str()); - gtk_size_group_add_widget(group, label); + gtk_size_group_add_widget(group, label); gtk_box_pack_start(GTK_BOX(box), label, true, true, 0); gtk_box_pack_start(GTK_BOX(box), content, true, true, 0); - return box; + return box; } inline GtkWidget *createUIPage() { - GtkSizeGroup *group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); - GtkWidget *vbox = gtk_vbox_new(true, 0); + GtkSizeGroup *group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); + GtkWidget *vbox = gtk_vbox_new(true, 0); - // packItTogether(group, "Button Size:", ); - // packItTogether(group, "Button Size:", [ ]); - // packItTogether(group, "Button Size:", [ ]); + // packItTogether(group, "Button Size:", ); + // packItTogether(group, "Button Size:", [ ]); + // packItTogether(group, "Button Size:", [ ]); - g_object_unref(G_OBJECT(group)); + g_object_unref(G_OBJECT(group)); - return vbox; + return vbox; } SettingsDialog::SettingsDialog(GtkWindow *parent, int size, LauncherItems& items) : myList(size, items) { @@ -77,3 +77,5 @@ gint SettingsDialog::run() { return gtk_dialog_run(myDialog); } + +// vim:ts=2:sw=2:et