info: add Photos default app

This commit is contained in:
William Jon McCann 2011-02-14 21:00:05 -05:00
parent 1f0c728688
commit 5226b4242f
2 changed files with 34 additions and 2 deletions

View file

@ -781,6 +781,9 @@ info_panel_setup_default_apps (CcInfoPanel *self)
button = gtk_app_chooser_button_new ("video/x-ogm+ogg");
gtk_table_attach (GTK_TABLE (table), button, 1, 2, 5, 6, GTK_FILL, 0, 0, 0);
button = gtk_app_chooser_button_new ("image/jpeg");
gtk_table_attach (GTK_TABLE (table), button, 1, 2, 6, 7, GTK_FILL, 0, 0, 0);
gtk_widget_show_all (table);
}

View file

@ -354,7 +354,7 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox1">
<object class="GtkVBox" id="default_apps_container">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
@ -367,7 +367,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">start</property>
<property name="n_rows">6</property>
<property name="n_rows">7</property>
<property name="n_columns">3</property>
<property name="column_spacing">12</property>
<property name="row_spacing">12</property>
@ -539,6 +539,35 @@
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkLabel" id="label32">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">Photos</property>
</object>
<packing>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label33">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label"> </property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="x_options">GTK_FILL</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>